package com.ruoyi.system.service;

import com.ruoyi.system.domain.SysTalkBody;
import com.ruoyi.system.domain.resp.SysTalkBodyResp;
import reactor.core.publisher.Flux;

/**
 * 用户 业务层
 *
 * @author ruoyi
 */
public interface ISparkApiService {

    /**
     * 非流式对话接口
     */
    public SysTalkBodyResp communication(SysTalkBody sysTalkBody);
    /**
     * 流式对话接口
     */
    public Flux<String> communicationStream(SysTalkBody sysTalkBody);



}
